package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_finance].[dbo].TCW_FinancesApiInFo", catalog="Id")
public class TcwFinancesApiInFo extends BaseEntity<TcwFinancesApiInFo> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Type", nameJava="type", typeDataBase="varchar")
	private String type;
	@YsField(nameDataBase="Sku", nameJava="sku", typeDataBase="varchar")
	private String sku;
	@YsField(nameDataBase="Quantity", nameJava="quantity", typeDataBase="int")
	private Integer quantity;
	@YsField(nameDataBase="ProductSales", nameJava="productSales", typeDataBase="decimal")
	private BigDecimal productSales;
	@YsField(nameDataBase="ProductSalesTax", nameJava="productSalesTax", typeDataBase="decimal")
	private BigDecimal productSalesTax;
	@YsField(nameDataBase="PostageCredits", nameJava="postageCredits", typeDataBase="decimal")
	private BigDecimal postageCredits;
	@YsField(nameDataBase="ShippingCreditsTax", nameJava="shippingCreditsTax", typeDataBase="decimal")
	private BigDecimal shippingCreditsTax;
	@YsField(nameDataBase="GiftWrapCredits", nameJava="giftWrapCredits", typeDataBase="decimal")
	private BigDecimal giftWrapCredits;
	@YsField(nameDataBase="GiftwrapCreditsTax", nameJava="giftwrapCreditsTax", typeDataBase="decimal")
	private BigDecimal giftwrapCreditsTax;
	@YsField(nameDataBase="PromotionalRebates", nameJava="promotionalRebates", typeDataBase="decimal")
	private BigDecimal promotionalRebates;
	@YsField(nameDataBase="PromotionalRebatesTax", nameJava="promotionalRebatesTax", typeDataBase="decimal")
	private BigDecimal promotionalRebatesTax;
	@YsField(nameDataBase="MarketplaceWithheldTax", nameJava="marketplaceWithheldTax", typeDataBase="decimal")
	private BigDecimal marketplaceWithheldTax;
	@YsField(nameDataBase="SellingFees", nameJava="sellingFees", typeDataBase="decimal")
	private BigDecimal sellingFees;
	@YsField(nameDataBase="FbaFees", nameJava="fbaFees", typeDataBase="decimal")
	private BigDecimal fbaFees;
	@YsField(nameDataBase="OtherTransactionFees", nameJava="otherTransactionFees", typeDataBase="decimal")
	private BigDecimal otherTransactionFees;
	@YsField(nameDataBase="Other", nameJava="other", typeDataBase="decimal")
	private BigDecimal other;
	@YsField(nameDataBase="Total", nameJava="total", typeDataBase="decimal")
	private BigDecimal total;
	@YsField(nameDataBase="FinancialEventGroupId", nameJava="financialEventGroupId", typeDataBase="varchar")
	private String financialEventGroupId;
	@YsField(nameDataBase="GroupId", nameJava="groupId", typeDataBase="varchar")
	private String groupId;
	@YsField(nameDataBase="PurchaseDate", nameJava="purchaseDate", typeDataBase="datetime")
	private Date purchaseDate;
	@YsField(nameDataBase="DataType", nameJava="dataType", typeDataBase="varchar")
	private String dataType;
	@YsField(nameDataBase="ThereDataType", nameJava="thereDataType", typeDataBase="varchar")
	private String thereDataType;
	@YsField(nameDataBase="ProductCode", nameJava="productCode", typeDataBase="varchar")
	private String productCode;
	@YsField(nameDataBase="Goodwill", nameJava="goodwill", typeDataBase="decimal")
	private BigDecimal goodwill;
	@YsField(nameDataBase="VariableClosingFee", nameJava="variableClosingFee", typeDataBase="decimal")
	private BigDecimal variableClosingFee;
	@YsField(nameDataBase="RestockingFee", nameJava="restockingFee", typeDataBase="decimal")
	private BigDecimal restockingFee;
	@YsField(nameDataBase="GiftwrapChargeback", nameJava="giftwrapChargeback", typeDataBase="decimal")
	private BigDecimal giftwrapChargeback;
	@YsField(nameDataBase="ProductName", nameJava="productName", typeDataBase="varchar")
	private String productName;
	@YsField(nameDataBase="LowValueGoods", nameJava="lowValueGoods", typeDataBase="decimal")
	private BigDecimal lowValueGoods;
	@YsField(nameDataBase="GetPaidFasterFee", nameJava="getPaidFasterFee", typeDataBase="decimal")
	private BigDecimal getPaidFasterFee;
	@YsField(nameDataBase="ShippingHB", nameJava="shippingHB", typeDataBase="decimal")
	private BigDecimal shippingHB;
	@YsField(nameDataBase="Surplus", nameJava="surplus", typeDataBase="decimal")
	private BigDecimal surplus;
	@YsField(nameDataBase="StartDate", nameJava="startDate", typeDataBase="datetime")
	private Date startDate;
	@YsField(nameDataBase="EndDate", nameJava="endDate", typeDataBase="datetime")
	private Date endDate;
	@YsField(nameDataBase="CurrencyCode", nameJava="currencyCode", typeDataBase="varchar")
	private String currencyCode;
	@YsField(nameDataBase="Currency", nameJava="currency", typeDataBase="varchar")
	private String currency;
	@YsField(nameDataBase="ShopNameMc", nameJava="shopNameMc", typeDataBase="varchar")
	private String shopNameMc;
	@YsField(nameDataBase="CompanyID", nameJava="companyID", typeDataBase="varchar")
	private String companyID;
	@YsField(nameDataBase="ShopName", nameJava="shopName", typeDataBase="varchar")
	private String shopName;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwFinancesApiInFo setId(Long id) {
		this.id = id;
		return this;
	}
	public String getType() {
		return type;
	}
	public TcwFinancesApiInFo setType(String type) {
		this.type = type;
		return this;
	}
	public String getSku() {
		return sku;
	}
	public TcwFinancesApiInFo setSku(String sku) {
		this.sku = sku;
		return this;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public TcwFinancesApiInFo setQuantity(Integer quantity) {
		this.quantity = quantity;
		return this;
	}
	public BigDecimal getProductSales() {
		return productSales;
	}
	public TcwFinancesApiInFo setProductSales(BigDecimal productSales) {
		this.productSales = productSales;
		return this;
	}
	public BigDecimal getProductSalesTax() {
		return productSalesTax;
	}
	public TcwFinancesApiInFo setProductSalesTax(BigDecimal productSalesTax) {
		this.productSalesTax = productSalesTax;
		return this;
	}
	public BigDecimal getPostageCredits() {
		return postageCredits;
	}
	public TcwFinancesApiInFo setPostageCredits(BigDecimal postageCredits) {
		this.postageCredits = postageCredits;
		return this;
	}
	public BigDecimal getShippingCreditsTax() {
		return shippingCreditsTax;
	}
	public TcwFinancesApiInFo setShippingCreditsTax(BigDecimal shippingCreditsTax) {
		this.shippingCreditsTax = shippingCreditsTax;
		return this;
	}
	public BigDecimal getGiftWrapCredits() {
		return giftWrapCredits;
	}
	public TcwFinancesApiInFo setGiftWrapCredits(BigDecimal giftWrapCredits) {
		this.giftWrapCredits = giftWrapCredits;
		return this;
	}
	public BigDecimal getGiftwrapCreditsTax() {
		return giftwrapCreditsTax;
	}
	public TcwFinancesApiInFo setGiftwrapCreditsTax(BigDecimal giftwrapCreditsTax) {
		this.giftwrapCreditsTax = giftwrapCreditsTax;
		return this;
	}
	public BigDecimal getPromotionalRebates() {
		return promotionalRebates;
	}
	public TcwFinancesApiInFo setPromotionalRebates(BigDecimal promotionalRebates) {
		this.promotionalRebates = promotionalRebates;
		return this;
	}
	public BigDecimal getPromotionalRebatesTax() {
		return promotionalRebatesTax;
	}
	public TcwFinancesApiInFo setPromotionalRebatesTax(BigDecimal promotionalRebatesTax) {
		this.promotionalRebatesTax = promotionalRebatesTax;
		return this;
	}
	public BigDecimal getMarketplaceWithheldTax() {
		return marketplaceWithheldTax;
	}
	public TcwFinancesApiInFo setMarketplaceWithheldTax(BigDecimal marketplaceWithheldTax) {
		this.marketplaceWithheldTax = marketplaceWithheldTax;
		return this;
	}
	public BigDecimal getSellingFees() {
		return sellingFees;
	}
	public TcwFinancesApiInFo setSellingFees(BigDecimal sellingFees) {
		this.sellingFees = sellingFees;
		return this;
	}
	public BigDecimal getFbaFees() {
		return fbaFees;
	}
	public TcwFinancesApiInFo setFbaFees(BigDecimal fbaFees) {
		this.fbaFees = fbaFees;
		return this;
	}
	public BigDecimal getOtherTransactionFees() {
		return otherTransactionFees;
	}
	public TcwFinancesApiInFo setOtherTransactionFees(BigDecimal otherTransactionFees) {
		this.otherTransactionFees = otherTransactionFees;
		return this;
	}
	public BigDecimal getOther() {
		return other;
	}
	public TcwFinancesApiInFo setOther(BigDecimal other) {
		this.other = other;
		return this;
	}
	public BigDecimal getTotal() {
		return total;
	}
	public TcwFinancesApiInFo setTotal(BigDecimal total) {
		this.total = total;
		return this;
	}
	public String getFinancialEventGroupId() {
		return financialEventGroupId;
	}
	public TcwFinancesApiInFo setFinancialEventGroupId(String financialEventGroupId) {
		this.financialEventGroupId = financialEventGroupId;
		return this;
	}
	public String getGroupId() {
		return groupId;
	}
	public TcwFinancesApiInFo setGroupId(String groupId) {
		this.groupId = groupId;
		return this;
	}
	public Date getPurchaseDate() {
		return purchaseDate;
	}
	public TcwFinancesApiInFo setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
		return this;
	}
	public String getDataType() {
		return dataType;
	}
	public TcwFinancesApiInFo setDataType(String dataType) {
		this.dataType = dataType;
		return this;
	}
	public String getThereDataType() {
		return thereDataType;
	}
	public TcwFinancesApiInFo setThereDataType(String thereDataType) {
		this.thereDataType = thereDataType;
		return this;
	}
	public String getProductCode() {
		return productCode;
	}
	public TcwFinancesApiInFo setProductCode(String productCode) {
		this.productCode = productCode;
		return this;
	}
	public BigDecimal getGoodwill() {
		return goodwill;
	}
	public TcwFinancesApiInFo setGoodwill(BigDecimal goodwill) {
		this.goodwill = goodwill;
		return this;
	}
	public BigDecimal getVariableClosingFee() {
		return variableClosingFee;
	}
	public TcwFinancesApiInFo setVariableClosingFee(BigDecimal variableClosingFee) {
		this.variableClosingFee = variableClosingFee;
		return this;
	}
	public BigDecimal getRestockingFee() {
		return restockingFee;
	}
	public TcwFinancesApiInFo setRestockingFee(BigDecimal restockingFee) {
		this.restockingFee = restockingFee;
		return this;
	}
	public BigDecimal getGiftwrapChargeback() {
		return giftwrapChargeback;
	}
	public TcwFinancesApiInFo setGiftwrapChargeback(BigDecimal giftwrapChargeback) {
		this.giftwrapChargeback = giftwrapChargeback;
		return this;
	}
	public String getProductName() {
		return productName;
	}
	public TcwFinancesApiInFo setProductName(String productName) {
		this.productName = productName;
		return this;
	}
	public BigDecimal getLowValueGoods() {
		return lowValueGoods;
	}
	public TcwFinancesApiInFo setLowValueGoods(BigDecimal lowValueGoods) {
		this.lowValueGoods = lowValueGoods;
		return this;
	}
	public BigDecimal getGetPaidFasterFee() {
		return getPaidFasterFee;
	}
	public TcwFinancesApiInFo setGetPaidFasterFee(BigDecimal getPaidFasterFee) {
		this.getPaidFasterFee = getPaidFasterFee;
		return this;
	}
	public BigDecimal getShippingHB() {
		return shippingHB;
	}
	public TcwFinancesApiInFo setShippingHB(BigDecimal shippingHB) {
		this.shippingHB = shippingHB;
		return this;
	}
	public BigDecimal getSurplus() {
		return surplus;
	}
	public TcwFinancesApiInFo setSurplus(BigDecimal surplus) {
		this.surplus = surplus;
		return this;
	}
	public Date getStartDate() {
		return startDate;
	}
	public TcwFinancesApiInFo setStartDate(Date startDate) {
		this.startDate = startDate;
		return this;
	}
	public Date getEndDate() {
		return endDate;
	}
	public TcwFinancesApiInFo setEndDate(Date endDate) {
		this.endDate = endDate;
		return this;
	}
	public String getCurrencyCode() {
		return currencyCode;
	}
	public TcwFinancesApiInFo setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
		return this;
	}
	public String getCurrency() {
		return currency;
	}
	public TcwFinancesApiInFo setCurrency(String currency) {
		this.currency = currency;
		return this;
	}
	public String getShopNameMc() {
		return shopNameMc;
	}
	public TcwFinancesApiInFo setShopNameMc(String shopNameMc) {
		this.shopNameMc = shopNameMc;
		return this;
	}
	public String getCompanyID() {
		return companyID;
	}
	public TcwFinancesApiInFo setCompanyID(String companyID) {
		this.companyID = companyID;
		return this;
	}
	public String getShopName() {
		return shopName;
	}
	public TcwFinancesApiInFo setShopName(String shopName) {
		this.shopName = shopName;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwFinancesApiInFo setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwFinancesApiInFo setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwFinancesApiInFo setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwFinancesApiInFo tcwFinancesApiInFo(
		String type,
		String sku,
		Integer quantity,
		BigDecimal productSales,
		BigDecimal productSalesTax,
		BigDecimal postageCredits,
		BigDecimal shippingCreditsTax,
		BigDecimal giftWrapCredits,
		BigDecimal giftwrapCreditsTax,
		BigDecimal promotionalRebates,
		BigDecimal promotionalRebatesTax,
		BigDecimal marketplaceWithheldTax,
		BigDecimal sellingFees,
		BigDecimal fbaFees,
		BigDecimal otherTransactionFees,
		BigDecimal other,
		BigDecimal total,
		String financialEventGroupId,
		String groupId,
		Date purchaseDate,
		String dataType,
		String thereDataType,
		String productCode,
		BigDecimal goodwill,
		BigDecimal variableClosingFee,
		BigDecimal restockingFee,
		BigDecimal giftwrapChargeback,
		String productName,
		BigDecimal lowValueGoods,
		BigDecimal getPaidFasterFee,
		BigDecimal shippingHB,
		BigDecimal surplus,
		Date startDate,
		Date endDate,
		String currencyCode,
		String currency,
		String shopNameMc,
		String companyID,
		String shopName,
		Integer status
			) {
		TcwFinancesApiInFo entity = new TcwFinancesApiInFo();
		entity.setType(type);
		entity.setSku(sku);
		entity.setQuantity(quantity);
		entity.setProductSales(productSales);
		entity.setProductSalesTax(productSalesTax);
		entity.setPostageCredits(postageCredits);
		entity.setShippingCreditsTax(shippingCreditsTax);
		entity.setGiftWrapCredits(giftWrapCredits);
		entity.setGiftwrapCreditsTax(giftwrapCreditsTax);
		entity.setPromotionalRebates(promotionalRebates);
		entity.setPromotionalRebatesTax(promotionalRebatesTax);
		entity.setMarketplaceWithheldTax(marketplaceWithheldTax);
		entity.setSellingFees(sellingFees);
		entity.setFbaFees(fbaFees);
		entity.setOtherTransactionFees(otherTransactionFees);
		entity.setOther(other);
		entity.setTotal(total);
		entity.setFinancialEventGroupId(financialEventGroupId);
		entity.setGroupId(groupId);
		entity.setPurchaseDate(purchaseDate);
		entity.setDataType(dataType);
		entity.setThereDataType(thereDataType);
		entity.setProductCode(productCode);
		entity.setGoodwill(goodwill);
		entity.setVariableClosingFee(variableClosingFee);
		entity.setRestockingFee(restockingFee);
		entity.setGiftwrapChargeback(giftwrapChargeback);
		entity.setProductName(productName);
		entity.setLowValueGoods(lowValueGoods);
		entity.setGetPaidFasterFee(getPaidFasterFee);
		entity.setShippingHB(shippingHB);
		entity.setSurplus(surplus);
		entity.setStartDate(startDate);
		entity.setEndDate(endDate);
		entity.setCurrencyCode(currencyCode);
		entity.setCurrency(currency);
		entity.setShopNameMc(shopNameMc);
		entity.setCompanyID(companyID);
		entity.setShopName(shopName);
		entity.setStatus(status);
		return entity;
	}
}